﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Templates/main.Master" AutoEventWireup="true" CodeBehind="Productos.aspx.cs" Inherits="SAIN.Abastos.catalogo.Productos" %>
<%@ Register src="../../Wuc/wucCategoriesCheckTree.ascx" tagname="wucCategoriesCheckTree" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphStyles" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphScripts" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Main" runat="server">
    <div class="contentContainer">    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <h2 id="TituloPagina" class="title" runat="server">Catálogo de productos</h2>
        <asp:Panel ID="Panel1" runat="server" Width="756px">
        <asp:Wizard ID="WizzProducto" runat="server" CancelButtonText="Cancelar" 
                FinishCompleteButtonText="Finalizar" FinishPreviousButtonText="Anterior" 
                StartNextButtonText="Siguiente" StepNextButtonText="Siguiente" 
                StepPreviousButtonText="Anterior" ActiveStepIndex="0" >
        
            <WizardSteps>
                <asp:WizardStep runat="server" StepType="Start" Title="Productos">
                <asp:Label ID="lblNombre" runat="server" Text="Producto:"></asp:Label>
            <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
            <asp:Label ID="lblMedida" runat="server" Text="Medida:" />
            <asp:DropDownList ID="DDLMedida" runat="server" />

            <asp:Button ID="btnCrearProducto" runat="server" Text="Crear producto" 
                onclick="btnCrearProducto_Click" />
            <hr />
            <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" 
                GridLines="None" Height="167px" Width="405px" >
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <EditRowStyle BackColor="#999999" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#E9E7E2" />
                <SortedAscendingHeaderStyle BackColor="#506C8C" />
                <SortedDescendingCellStyle BackColor="#FFFDF8" />
                <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
            </asp:GridView>
                </asp:WizardStep>
                <asp:WizardStep runat="server" Title="Categorias">
                
            <uc1:wucCategoriesCheckTree ID="wucCategoriesCheckTree1" runat="server" />
                </asp:WizardStep>
            </WizardSteps>
        
        </asp:Wizard>
        </asp:Panel>
    </ContentTemplate>
    </asp:UpdatePanel>
</div>
</asp:Content>
